home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / Icon 8.1 / msm-1 / h.sit / fdefs.h < prev    next >
Encoding:
Text File  |  1992-09-19  |  4.4 KB  |  282 lines  |  [TEXT/MPS ]

  1.  
  2. /*
  3.  * Definitions of functions.
  4.  */
  5.  
  6. /*
  7.  * These are the functions in the standard repertoire.
  8.  */
  9.  
  10. FncDef(abs,1)
  11. FncDef(any,4)
  12. FncDef(args,1)
  13. FncDef(bal,6)
  14. FncDef(center,3)
  15. FncDef(char,1)
  16. FncDef(chdir,1)
  17. FncDef(close,1)
  18. FncDef(collect,2)
  19. FncDef(copy,1)
  20. FncDef(cset,1)
  21.  
  22. #if UNIX || VMS
  23. FncDef(delay,1)
  24. #endif                    /* UNIX || VMS */
  25.  
  26. FncDef(delete,2)
  27. FncDefV(detab)
  28. #ifdef MultiThread
  29. FncDef(display,3)
  30. #else                    /* MultiThread */
  31. FncDef(display,2)
  32. #endif                    /* MultiThread */
  33. FncDefV(entab)
  34. FncDef(errorclear,0)
  35. FncDef(exit,1)
  36. FncDef(find,4)
  37. FncDef(flush,1)
  38. FncDef(function,0)
  39. FncDef(get,2)
  40. FncDef(getenv,1)
  41. FncDef(iand,2)
  42. FncDef(icom,1)
  43. FncDef(image,1)
  44. FncDef(insert,3)
  45. FncDef(integer,1)
  46. FncDef(ior,2)
  47. FncDef(ishift,2)
  48. FncDef(ixor,2)
  49. FncDef(key,2)
  50. FncDef(left,3)
  51. FncDef(list,2)
  52. FncDef(many,4)
  53. FncDef(map,3)
  54. FncDef(match,4)
  55. FncDef(member,1)
  56. FncDef(move,1)
  57. #ifdef MultiThread
  58. FncDef(name,2)
  59. #else                        /* MultiThread */
  60. FncDef(name,1)
  61. #endif                        /* MultiThread */
  62. FncDef(numeric,1)
  63.  
  64. #ifdef XIcon
  65. FncDefV(open)
  66. #else                    /* XIcon */
  67. FncDef(open,3)
  68. #endif                    /* XIcon */
  69.  
  70. FncDef(ord,1)
  71. FncDef(pop,1)
  72. FncDef(pos,1)
  73. #ifdef MultiThread
  74. FncDef(proc,3)
  75. #else                    /* MultiThread */
  76. FncDef(proc,2)
  77. #endif                    /* MultiThread */
  78. FncDef(pull,1)
  79. FncDef(push,2)
  80. FncDef(put,1)
  81. FncDef(read,2)
  82. FncDef(reads,2)
  83. FncDef(real,1)
  84. FncDef(remove,2)
  85. FncDef(rename,1)
  86. FncDef(repl,2)
  87. FncDef(reverse,1)
  88. FncDef(right,3)
  89. FncDefV(runerr)
  90. FncDef(seek,2)
  91. FncDef(seq,2)
  92. FncDef(set,1)
  93. FncDef(sort,2)
  94. FncDef(sortf,2)
  95. FncDefV(stop)
  96. FncDef(string,1)
  97. FncDef(tab,1)
  98. FncDef(table,1)
  99. FncDef(trim,2)
  100. FncDef(type,1)
  101. FncDef(upto,4)
  102. #ifdef MultiThread
  103. FncDef(variable,2)
  104. #else                        /* MultiThread */
  105. FncDef(variable,1)
  106. #endif                        /* MultiThread */
  107. FncDef(where,1)
  108. FncDefV(write)
  109. FncDefV(writes)
  110.  
  111. /*
  112.  * System function.
  113.  */
  114.  
  115. #ifdef SystemFnc
  116. FncDef(system,1)
  117. #endif                    /* SystemFnc */
  118.  
  119. /*
  120.  * Executable images.
  121.  */
  122.  
  123. #ifdef ExecImages
  124. FncDef(save,1)
  125. #endif                    /* ExecImages */
  126.  
  127. /*
  128.  * External functions.
  129.  */
  130. #ifdef ExternalFunctions
  131. FncDefV(callout)
  132. #endif                    /* ExternalFunctions */
  133.  
  134. /*
  135.  * Math functions.
  136.  */
  137.  
  138. #ifdef MathFncs
  139. FncDef(acos,1)
  140. FncDef(asin,1)
  141. FncDef(atan,2)
  142. FncDef(cos,1)
  143. FncDef(dtor,1)
  144. FncDef(exp,2)
  145. FncDef(log,1)
  146. FncDef(rtod,1)
  147. FncDef(sin,1)
  148. FncDef(sqrt,1)
  149. FncDef(tan,1)
  150. #endif                    /* MathFncs */
  151.  
  152. #ifdef KeyboardFncs
  153. FncDef(getch,0)
  154. FncDef(getche,0)
  155. FncDef(kbhit,0)
  156. #endif                    /* KeyboardFncs */
  157.  
  158. /*
  159.  * Functions for MS-DOS.
  160.  */
  161.  
  162. #ifdef DosFncs
  163. FncDef(Int86,1)
  164. FncDef(Peek,1)
  165. FncDef(Poke,1)
  166. FncDef(GetSpace,1)
  167. FncDef(FreeSpace,1)
  168. FncDef(InPort,1)
  169. FncDef(OutPort,1)
  170. #endif                    /* DosFncs */
  171.  
  172. /*
  173.  * Functions for the Archimedes.
  174.  */
  175.  
  176. #ifdef ArmFncs
  177. FncDef(Swi,2)
  178. FncDef(Peek,2)
  179. FncDef(Poke,2)
  180. FncDef(GetSpace,1)
  181. FncDef(FreeSpace,1)
  182. #endif                    /* ArmFncs */
  183.  
  184. /*
  185.  * Functions to support program visualization.
  186.  */
  187.  
  188. #ifdef Visualization
  189. FncDef(serial,1)
  190. FncDef(structure,1)
  191. #endif                    /* Visualization */
  192.  
  193. /*
  194.  * Memory monitoring functions.
  195.  */
  196.  
  197. #ifdef MemMon
  198. FncDef(mmout,1)
  199. FncDef(mmpause,1)
  200. FncDef(mmshow,2)
  201. #endif                    /* MemMon */
  202.  
  203. /*
  204.  * Event processing functions.
  205.  */
  206. #ifdef MultiThread
  207. #ifdef EventMon
  208. FncDef(EvGet,2)
  209. FncDef(event,3)
  210. #endif                    /* EventMon */
  211. #endif                    /* MultiThread */
  212.  
  213. #ifdef XIcon
  214. FncDef(XActive,0)
  215. FncDefV(XAttrib)
  216. FncDef(XBg,4)
  217. FncDefV(XBind)
  218. FncDef(XClearArea,5)
  219. FncDefV(XClip)
  220. #ifndef PresentationManager
  221. FncDef(XColor,5)
  222. #endif                    /* PresentationManager */
  223. FncDef(XCopyArea,8)
  224. FncDefV(XDrawArc)
  225. FncDefV(XDrawCurve)
  226. FncDefV(XDrawLine)
  227. FncDefV(XDrawPoint)
  228. FncDefV(XDrawRectangle)
  229. FncDefV(XDrawSegment)
  230. FncDefV(XDrawString)
  231. FncDef(XEraseArea,5)
  232. FncDef(XEvent,1)
  233. FncDef(XFg,4)
  234. FncDefV(XFillArc)
  235. FncDefV(XFillPolygon)
  236. FncDefV(XFillRectangle)
  237. FncDef(XFlush,1)
  238. FncDef(XFont,2)
  239. FncDef(XGotoRC,3)
  240. FncDef(XGotoXY,3)
  241. FncDef(XIconic,2)
  242. #ifndef PresentationManager
  243. FncDef(XIconImage,2)
  244. FncDef(XIconLabel,2)
  245. FncDef(XMoveIcon,3)
  246. #endif                    /* PresentationManager */
  247. FncDef(XMoveWindow,5)
  248. #ifndef PresentationManager
  249. FncDef(XNewColor,4)
  250. FncDef(XParseColor,2)
  251. #endif                    /* PresentationManager */
  252. FncDefV(XPending)
  253. FncDefV(XPixel)
  254. FncDef(XQueryPointer,1)
  255. FncDef(XReadImage,4)
  256. FncDefV(XSetStipple)
  257. FncDef(XSync,2)
  258. FncDef(XTextWidth,3)
  259. FncDef(XUnbind,1)
  260. FncDef(XWarpPointer,3)
  261. FncDef(XWindowLabel,2)
  262. FncDef(XWriteImage,6)
  263. #endif                    /* XIcon */
  264.  
  265. #ifdef MultiThread
  266. FncDef(cofail,1)
  267. FncDefV(load)
  268. FncDef(parent,1)
  269. FncDef(eventmask,2)
  270. FncDef(opmask,2)
  271. FncDef(globalnames,1)
  272. FncDef(keyword,2)
  273. FncDef(localnames,1)
  274. FncDef(staticnames,1)
  275. FncDef(paramnames,1)
  276. FncDef(fieldnames,1)
  277. #endif                    /* MultiThread */
  278.  
  279. #ifdef Xver
  280. xver(fdefs.1)
  281. #endif                    /* Xver */
  282.